xenstore: create pidfile in init-xenstore-domain
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Wed, 24 Apr 2013 16:44:53 +0000 (12:44 -0400)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 1 May 2013 11:58:06 +0000 (12:58 +0100)
commit3b779d88e4d82499d0823f7ac1f571f3051efe13
treeeca2d01e8abac72d2701a11e9de6ccf4b19a56c7
parent9e049fa424d8bc2384cf6b0475960d49a29acca0
xenstore: create pidfile in init-xenstore-domain

Since libxl checks for the existance of /var/run/xenstored.pid in order
to ensure xenstore is running, create this file when starting the
xenstore stub domain. This also changes the Makefile to enable the
creation of the init-xenstore-domain tool during tools compilation,
since the existing Makefile incorrectly added to the ALL_TARGETS list
when compiling the stubdom, when this variable is not used.

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/xenstore/Makefile
tools/xenstore/init-xenstore-domain.c